<?php

use app\frontend\middleware\JwtAuthMiddleware;
use think\facade\Route;

Route::post('signin', 'Auth/signIn');
Route::post('signout', 'Auth/signOut');
Route::post('signup', 'Auth/signUp');
Route::post('auth/refresh', 'Auth/refreshToken');

Route::get('product/list', 'Product/getList');

Route::group(function () {
    Route::get('payment/setting', 'PaymentSetting/getOne');
})->middleware([
    JwtAuthMiddleware::class,
]);
